package com.sz.mapper;

import com.sz.model.OtherBank;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;
import tk.mybatis.mapper.common.Mapper;

@Component
public interface OtherBankMapper extends Mapper<OtherBank> {

    //查询模拟账户信息
    public OtherBank selectOtherBank(String ba);

    //其他银行转账
    public int updateBankMoney(@Param("ba") String ba, @Param("tradingAmount") Long tradingAmount);
}